package com.zzld.modules.autoinn.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name="zzld_autoinn_area")
public class Area {

	@Id
	private String id;
	
	private String areaname;
	
	private String pid;
	
	private int islast;
	
	private int sort;
	
	@Column(name="create_by")
	private String createBy;
	
	
	@Column(name="create_date")
	 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
	private Date createDate;
	
	private int state;
	
	private  String level;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAreaname() {
		return areaname;
	}

	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public int getIslast() {
		return islast;
	}

	public void setIslast(int islast) {
		this.islast = islast;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getCreate_by() {
		return createBy;
	}

	public void setCreate_by(String create_by) {
		this.createBy = create_by;
	}

	public Date getCreate_date() {
		return createDate;
	}

	public void setCreate_date(Date create_date) {
		this.createDate = create_date;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
}
